package com.heima.model.user.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户关系数据传输对象")
public class UserRelationDto {

    @ApiModelProperty(value = "文章作者ID")
    private Integer authorId;

    @ApiModelProperty(value = "文章ID")
    private Long articleId;

    @ApiModelProperty(value = "操作方式", example = "0", notes = "0 表示关注，1 表示取消")
    private Short operation;
}